export default function (url) {
  return new Promise((resolve, reject) => {
    this.$ajax.get(url).then(function (response) {
      resolve({res: response.data.data})
    }).catch(function (error) {
      console.log(error)
    })
  })
};
